<template xmlns:el-col="http://www.w3.org/1999/html">
  <div class="app-container home" v-loading="loading" style="margin-left: 15%">
    <div class="monitor-header" style="height: 95%">
      <div class="monitor-list">
        <div style="float: left; ">
          <div style="margin-left: 8px;">
            <div class="el-row" style=" color: white; width: 100%; font-size: xx-large; float:left">{{gunfonhli}} %滚动率
            </div>
            <div class="el-row" style=" color: white; width: 100%; float:left; margin-top: 10px; font-size: x-small">
              期初本金：{{startmoney}}
            </div>
            <div class="el-row" style=" color: white; width: 100%; float:left;margin-top: 10px;font-size: x-small">
              期末本金：{{endmoney}}
            </div>
            <div class="el-row" style=" color: white; width: 100%; float:left;margin-top: 10px;font-size: x-small">
              滚动率=期初本金/期末本金X100%
            </div>
          </div>
        </div>
        <div style="float: right;width: 20%">
          <div style="float: right;margin-right: 10px;margin-top: -115px">
            <img src="@/assets/images/1.png" height="20" width="20"/></div>
          <div style="float: right;margin-top: -50px; "><img src="@/assets/images/3.png" height="72" width="74"/></div>
        </div>
      </div>
      <div class="monitor-list-1">
        <div style="float: left;width: 80%; ">
          <div style="margin-left: 8px;">
            <div class="el-row" style=" color: white; width: 100%; font-size: x-large; float:left; margin-top: 40px">
              当日外呼量：{{daynum}}
            </div>
            <div class="el-row" style=" color: white; width: 100%; float:left ; margin-top: 20px; font-size: x-large">
              有效外呼量：{{effectivenum}}
            </div>
          </div>
        </div>
        <div style="float: right;width: 20%">
          <div style="float: right;margin-right: 10px;margin-top: 4px"><img src="@/assets/images/1.png" height="20"
                                                                            width="20"/></div>
          <div style="float: right;margin-top: 45px; "><img src="@/assets/images/2.png" height="72" width="74"/></div>
        </div>
      </div>
      <div class="monitor-list">
        <div style="float: left;width: 80%; ">
          <div style="margin-left: 8px;">
            <div class="el-row" style=" color: white; width: 100%; font-size: x-large; float:left; margin-top: 10px">
              {{num1}} 账单还款带出额
            </div>
            <div class="el-row" style=" color: white; width: 100%; float:left; margin-top: 10px; font-size: x-small">
              还款降期账户欠款金额：{{num2}}
            </div>
            <div class="el-row" style=" color: white; width: 100%; float:left;margin-top: 10px;font-size: x-small">
              还款未降期账户欠款金额：{{num3}}
            </div>
            <div class="el-row" style=" color: white; width: 100%; float:left;margin-top: 10px;font-size: x-small">
              还款金额：{{num4}}
            </div>
          </div>
        </div>
        <div style="float: right;width: 20%">
          <div style="float: right;margin-right: 10px;margin-top: 4px"><img src="@/assets/images/1.png" height="20"
                                                                            width="20"/></div>
          <div style="float: right;margin-top: 45px; "><img src="@/assets/images/4.png" height="72" width="74"/></div>
        </div>
      </div>

      <div
        style="float: left;margin-top: 20px; width: 1150px; height: 300px;box-shadow: 1px 0px 1px 2px lightslategrey; margin-left: 28pt">
        <div style="margin-top: 10px;margin-left: 20px">
          <i class="el-icon-view" style="color:green;font-size: 14px;"></i>
          <!--<svg-icon icon-class="eye-open"></svg-icon>-->
          工作成效查视
        </div>
        <el-row :gutter="20" style="margin-top: 20px; margin-left: 20px">
          <el-col :span="6">
            <div class="grid-content bg-purple">
<!--              <el-select v-model="params.org" placeholder="机构">
                <el-option
                  v-for="item in options"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value">
                </el-option>
              </el-select>-->
              <el-date-picker v-model="dateVlaue" type="daterange" size="small" style="width:100%;" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
                              range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
            </div>
          </el-col>
          <el-col :span="6">
            <div class="grid-content bg-purple" STYLE="margin-left: 25px">
              <el-select v-model="params.group" placeholder="催收组">
                <el-option
                  v-for="item in groupList"
                  :key="item.index"
                  :label="item.teamName"
                  :value="item.id">
                </el-option>
              </el-select>
            </div>
          </el-col>
          <el-col :span="6">
            <div class="grid-content bg-purple">
              <el-select v-model="params.user" placeholder="催收人员">
                <el-option
                  v-for="item in peopleList"
                  :key="item.index"
                  :label="item.userName"
                  :value="item.userId">
                </el-option>
              </el-select>
            </div>
          </el-col>
          <el-col :span="6">
            <div class="grid-content bg-purple">
              <el-button type="danger" round icon="el-icon-refresh" @click="selectFormList(params)">查询</el-button>
            </div>
          </el-col>
        </el-row>
        <br>
        <div style="margin-left: 10px;">
          <div ref="chartPCyan" style="float: left; width: 180px; height: 160px; ">11</div>
          <div ref="chartPSkyBlue" style="float: left; width: 180px; height: 160px;">11</div>
          <div ref="chartPgreen" style="float: left; width: 180px; height: 160px; ">11</div>
          <div ref="chartPorgen" style="float: left; width: 180px; height: 160px; ">11</div>
          <div ref="chartPpick" style="float: left; width: 180px; height: 160px; ">11</div>
          <div ref="chartPDarkGreen" style="float: left; width: 180px; height: 160px; ">11</div>
        </div>
      </div>
      <div
        style="float: left;margin-top: 20px; width: 1150px; height: 240px;box-shadow: 1px 0px 1px 2px lightslategrey; margin-left: 28pt">
        <!--
        <el-row :gutter="20" style="margin-top: 20px; margin-left: 10px">
          <el-col :span="4">
            <div class="grid-content bg-purple">
            <div class="grid-content bg-purple">
          </el-col>
        </el-row>
        -->
        <br>
        <div id="main" style="width: 100%;height:200px; margin-top: 20px"></div>
      </div>
      <!--  <div
          style="float: right; box-shadow: 1px 0px 1px 2px lightslategrey;background:#f2fbfe; width: 25%;height: 200px; margin-top: -155px">
          沙发上法萨芬萨芬
        </div>
  -->
    </div>

  </div>
</template>

<script>

  import {Message} from "element-ui";

  export default {
    name: "index",
    data() {
      return {
        years:"",
        dateVlaue: [],
        loading: false,
        params: {},
        //滚动率
        gunfonhli: "",
        //期初金额
        startmoney: "",
        //期末金额
        endmoney: "",
        //当日外呼量
        daynum: "",
        //有效外呼量
        effectivenum: "",
        //还款带出金额
        num1: "",
        //还款降期账户欠款金额
        num2: "",
        //还款未降期账户欠款金额
        num3: "",
        //还款贷出金额
        num4: "",
        callNum: "50",
        // 版本号
        version: "60%",
        groupList:[],
        peopleList:[],
        amountOfMoney:{},
        formList:{"hangUpActively":{"peopleTotal":0,"total":0,"version":"0"},"lostContact":{"peopleTotal":0,"total":0,"version":"0"},"invalidCommunication":{"peopleTotal":0,"total":0,"version":"0"},"promiseToRepay":{"peopleTotal":0,"total":0,"version":"0"},"died":{"peopleTotal":0,"total":0,"version":"0"},"emptyNumber":{"peopleTotal":0,"total":0,"version":"0"}},

        options: [{
          value: '1',
          label: '北京'
        }, {
          value: '2',
          label: '上海'
        }, {
          value: '3',
          label: '天津'
        }, {
          value: '4',
          label: '重庆'
        }, {
          value: '5',
          label: '深圳'
        }],
        options1: [{
          value: '1',
          label: '催收一组'
        }, {
          value: '2',
          label: '催收二组'
        }, {
          value: '3',
          label: '催收三组'
        }],
        options2: [{
          value: '1',
          label: '张XXX'
        }, {
          value: '2',
          label: '王XXX'
        }, {
          value: '3',
          label: '刘XXX'
        }],
      };
    },
    created() {
      var v=this.getDate();
      this.dateVlaue.push(v)
      this.dateVlaue.push(v)


      this.initDate();
      this.selectGroup();
      this.selectFormList(this.params);
      this.selectAmountOfMoney();
    },

    mounted() {

      this.pieChartsCyan();
      this.pieChartsSkyBlue();
      this.pieChartsgreen();
      this.pieChartsorgen();
      this.pieChartspick();
      this.pieChartsDarkGreen();
      this.drawLine();
    },
    watch:{
      'params.group':function (id,oldId){
        //this.peopleList=[];
        this.$set(this.params, 'user', '')
        this.selectPeople(id);

      }
    },
    methods: {
      getDate(){
        var date = new Date();
        var year = date.getFullYear();
        var month = date.getMonth() + 1;
        var day = date.getDate();
        if (month < 10) {
          month = "0" + month;
        }
        if (day < 10) {
          day = "0" + day;
        }
        return year + "-" + month + "-" + day;
      },

      initDate(){
        this.$axios({
          method: "GET",
          url: `/CMC/home/index`
        }).then((res)=>{
          console.log(res)
          if (res.code == 200) {
            this.gunfonhli=res.data.gunfonhli
            this.startmoney=res.data.startmoney
            this.endmoney=res.data.endmoney
            this.daynum=res.data.daynum
            this.effectivenum=res.data.effectivenum
            this.num1=res.data.num1
            this.num2=res.data.num2
            this.num3=res.data.num3
            this.num4=res.data.num4
          } else {
            Message.warning(res.message);
          }
        })
      } ,
      ///api/tbCall/selectGroup
      //查询催收组
      selectGroup(){
        this.$axios({
          method: "POST",
          url: `/CMC/api/tbCall/selectGroup`
        }).then((res)=>{
          if(res.code==200){
            this.groupList=res.data;
          }else{
            Message.warning(res.message);
          }
        })
      },

      //查询月份的金额(逾期,还款)
      selectAmountOfMoney(){
        this.$axios({
          method: "POST",
          url: `/CMC/api/tbCall/history/selectAmountOfMoney`
        }).then((res)=>{
          if(res.code==200){
            console.log(res.data);
            this.amountOfMoney=res.data;
            this.drawLine();
          }else{
            Message.warning(res.message);
          }
        })
      },

      selectPeople(id){
        this.$axios({
          method: "POST",
          url: `/CMC/api/tbCall/selectPerson`,
          data: {
            teamId:id,
          }
        }).then((res)=>{
          if(res.code==200){
            this.peopleList=res.data;

          }else{
            Message.warning(res.message);
          }
        })
      },

       addDateRange(params, dateRange) {
        var search = params;

        if (null != dateRange && '' != dateRange) {

            search.beginTime = dateRange[0];
            search.endTime = dateRange[1];

        }
        return search;
      },

      selectFormList(data){

        let a1=this.addDateRange(data,this.dateVlaue);
        this.$axios({
          method: "POST",
          url: `/CMC/home/catForm`,
          data: a1,
        }).then((res)=>{
          console.log(res)
          if(res.code==200){
            this.formList=res.data;

            this.pieChartsCyan();
            this.pieChartsSkyBlue();
            this.pieChartsgreen();
            this.pieChartsorgen();
            this.pieChartspick();
            this.pieChartsDarkGreen();
            //this.drawLine();

          }else{
            Message.warning(res.message);
          }
        })
      },

      goTarget(href) {
        window.open(href, "_blank");
      },
      pieChartsCyan() {
        let myChart = this.$echarts.init(this.$refs.chartPCyan);
        console.log(this.$refs.chart)
        // 绘制图表
        myChart.setOption({
          title: {
            text: '本人承诺还款',
            left: 'center',//主副标题的水平位置
            padding: 20,//标题内边距,
            itemGap: 110,//主副标题间距
            textStyle: {
              color: 'MediumTurquoise',
              fontStyle: 'normal',
              fontSize: 14,
              fontWeight: 'normal',
            },
            subtext: '￥'+this.formList.promiseToRepay.peopleTotal,
            subtextStyle: {
              color: '#00BFFF',
              fontSize: 14,
              fontWeight: 'normal'
            },

          },
          labelLine: {
            show: false
          },
          series: [{
            avoidLabelOverlap: false,
            labelLine: {
              show: false
            },

            label: {
              show: false, normal: {
                show: true,
                position: 'center',
                color: '#4c4a4a',
                formatter: this.formList.promiseToRepay.version+'%'

              },
              position: 'center',
              emphasis: {//中间文字显示
                show: true,
              }
            },
            radius: ['50%', '30%'],
            center: ["50%", "50%"],
            name: '金额',
            type: 'pie',
            data: [
              {
                value: this.formList.promiseToRepay.version, name: '100', itemStyle: {
                  normal: {
                    color: 'Cyan',
                    barBorderRadius: 30,
                    // shadowBlur: 50,
                    shadowColor: 'rgba(21,41,185,.75)'
                  }
                }
              },
              {
                value: this.formList.promiseToRepay.total,
                name:  this.formList.promiseToRepay.version+'',
                itemStyle: {
                  normal: {
                    color: 'Gainsboro',
                    barBorderRadius: 30,
                    // shadowBlur: 50,
                    shadowColor: 'rgba(21,41,185,.75)'
                  }
                }
              },

            ]
          }]
        });
      },
      pieChartsSkyBlue() {
        let myChart = this.$echarts.init(this.$refs.chartPSkyBlue);
        console.log(this.$refs.chart)
        // 绘制图表
        myChart.setOption({
          title: {
            text: '已失联',
            left: 'center',//主副标题的水平位置
            padding: 20,//标题内边距,
            itemGap: 110,//主副标题间距
            textStyle: {
              color: 'MediumTurquoise',
              fontStyle: 'normal',
              fontSize: 14,
              fontWeight: 'normal',
            },
            subtext: '￥'+this.formList.lostContact.peopleTotal,
            subtextStyle: {
              color: '#00BFFF',
              fontSize: 14,
              fontWeight: 'normal'
            },

          },
          labelLine: {
            show: false
          },
          series: [{
            avoidLabelOverlap: false,
            labelLine: {
              show: false
            },

            label: {
              show: false, normal: {
                show: true,
                position: 'center',
                color: '#4c4a4a',
                formatter: this.formList.lostContact.version+'%'

              },
              position: 'center',
              emphasis: {//中间文字显示
                show: true,
              }
            },
            radius: ['50%', '30%'],
            center: ["50%", "50%"],
            name: '金额',
            type: 'pie',
            data: [
              {
                value: this.formList.lostContact.version, name: '100', itemStyle: {
                  normal: {
                    color: '#87CEEB',
                    barBorderRadius: 30,
                    // shadowBlur: 50,
                    shadowColor: 'rgba(21,41,185,.75)'
                  }
                }
              },
              {
                value: this.formList.lostContact.total,
                name: this.formList.lostContact.version,
                itemStyle: {
                  normal: {
                    color: 'Gainsboro',
                    barBorderRadius: 30,
                    // shadowBlur: 50,
                    shadowColor: 'rgba(21,41,185,.75)'
                  }
                }
              },

            ]
          }]
        });
      },
      pieChartsgreen() {
        let myChart = this.$echarts.init(this.$refs.chartPgreen);
        console.log(this.$refs.chart)
        // 绘制图表
        myChart.setOption({
          title: {
            text: '无效沟通',
            left: 'center',//主副标题的水平位置
            padding: 20,//标题内边距,
            itemGap: 110,//主副标题间距
            textStyle: {
              color: 'MediumTurquoise',
              fontStyle: 'normal',
              fontSize: 14,
              fontWeight: 'normal',
            },
            subtext: '￥'+this.formList.invalidCommunication.peopleTotal,
            subtextStyle: {
              color: '#00BFFF',
              fontSize: 14,
              fontWeight: 'normal'
            },

          },
          labelLine: {
            show: false
          },
          series: [{
            avoidLabelOverlap: false,
            labelLine: {
              show: false
            },

            label: {
              show: false, normal: {
                show: true,
                position: 'center',
                color: '#4c4a4a',
                formatter: this.formList.invalidCommunication.version+'%'

              },
              position: 'center',
              emphasis: {//中间文字显示
                show: true,
              }
            },
            radius: ['50%', '30%'],
            center: ["50%", "50%"],
            name: '金额',
            type: 'pie',
            data: [
              {
                value: this.formList.invalidCommunication.version, name: '100', itemStyle: {
                  normal: {
                    color: '#32CD32',
                    barBorderRadius: 30,
                    // shadowBlur: 50,
                    shadowColor: 'rgba(21,41,185,.75)'
                  }
                }
              },
              {
                value: this.formList.invalidCommunication.total,
                name: this.formList.invalidCommunication.version,
                itemStyle: {
                  normal: {
                    color: 'Gainsboro',
                    barBorderRadius: 30,
                    // shadowBlur: 50,
                    shadowColor: 'rgba(21,41,185,.75)'
                  }
                }
              },

            ]
          }]
        });
      },
      pieChartsorgen() {
        let myChart = this.$echarts.init(this.$refs.chartPorgen);
        console.log(this.$refs.chart)
        // 绘制图表
        myChart.setOption({
          title: {
            text: '已身故',
            left: 'center',//主副标题的水平位置
            padding: 20,//标题内边距,
            itemGap: 110,//主副标题间距
            textStyle: {
              color: 'MediumTurquoise',
              fontStyle: 'normal',
              fontSize: 14,
              fontWeight: 'normal',
            },
            subtext: '￥'+this.formList.died.peopleTotal,
            subtextStyle: {
              color: '#00BFFF',
              fontSize: 14,
              fontWeight: 'normal'
            },

          },
          labelLine: {
            show: false
          },
          series: [{
            avoidLabelOverlap: false,
            labelLine: {
              show: false
            },

            label: {
              show: false, normal: {
                show: true,
                position: 'center',
                color: '#4c4a4a',
                formatter: this.formList.died.version+'%'

              },
              position: 'center',
              emphasis: {//中间文字显示
                show: true,
              }
            },
            radius: ['50%', '30%'],
            center: ["50%", "50%"],
            name: '金额',
            type: 'pie',
            data: [
              {
                value: this.formList.died.version, name: '100', itemStyle: {
                  normal: {
                    color: '#FFB400',
                    barBorderRadius: 30,
                    // shadowBlur: 50,
                    shadowColor: 'rgba(21,41,185,.75)'
                  }
                }
              },
              {
                value: this.formList.died.total,
                name: this.formList.died.version,
                itemStyle: {
                  normal: {
                    color: 'Gainsboro',
                    barBorderRadius: 30,
                    // shadowBlur: 50,
                    shadowColor: 'rgba(21,41,185,.75)'
                  }
                }
              },

            ]
          }]
        });
      },
      pieChartspick() {
        let myChart = this.$echarts.init(this.$refs.chartPpick);
        console.log(this.$refs.chart)
        // 绘制图表
        myChart.setOption({
          title: {
            text: '空号',
            left: 'center',//主副标题的水平位置
            padding: 20,//标题内边距,
            itemGap: 110,//主副标题间距
            textStyle: {
              color: 'MediumTurquoise',
              fontStyle: 'normal',
              fontSize: 14,
              fontWeight: 'normal',
            },
            subtext: '￥'+this.formList.emptyNumber.peopleTotal,
            subtextStyle: {
              color: '#00BFFF',
              fontSize: 14,
              fontWeight: 'normal'
            },

          },
          labelLine: {
            show: false
          },
          series: [{
            avoidLabelOverlap: false,
            labelLine: {
              show: false
            },

            label: {
              show: false, normal: {
                show: true,
                position: 'center',
                color: '#4c4a4a',
                formatter: this.formList.emptyNumber.version+'%'

              },
              position: 'center',
              emphasis: {//中间文字显示
                show: true,
              }
            },
            radius: ['50%', '30%'],
            center: ["50%", "50%"],
            name: '金额',
            type: 'pie',
            data: [
              {
                value: this.formList.emptyNumber.version, name: '100', itemStyle: {
                  normal: {
                    color: '#FFC0CB',
                    barBorderRadius: 30,
                    // shadowBlur: 50,
                    shadowColor: 'rgba(21,41,185,.75)'
                  }
                }
              },
              {
                value: this.formList.emptyNumber.total,
                name: this.formList.emptyNumber.version,
                itemStyle: {
                  normal: {
                    color: 'Gainsboro',
                    barBorderRadius: 30,
                    // shadowBlur: 50,
                    shadowColor: 'rgba(21,41,185,.75)'
                  }
                }
              },

            ]
          }]
        });
      },
      pieChartsDarkGreen() {
        let myChart = this.$echarts.init(this.$refs.chartPDarkGreen);
        console.log(this.$refs.chart)
        // 绘制图表
        myChart.setOption({
          title: {
            text: '主动挂断',
            left: 'center',//主副标题的水平位置
            padding: 20,//标题内边距,
            itemGap: 110,//主副标题间距
            textStyle: {
              color: 'MediumTurquoise',
              fontStyle: 'normal',
              fontSize: 14,
              fontWeight: 'normal',
            },
            subtext: '￥'+this.formList.hangUpActively.peopleTotal,
            subtextStyle: {
              color: '#00BFFF',
              fontSize: 14,
              fontWeight: 'normal'
            },

          },
          labelLine: {
            show: false
          },
          series: [{
            avoidLabelOverlap: false,
            labelLine: {
              show: false
            },

            label: {
              show: false,
              normal: {
                show: true,
                position: 'center',
                color: '#4c4a4a',
                formatter: this.formList.hangUpActively.version+'%'
              },
              position: 'center',
              emphasis: {//中间文字显示
                show: true,
              }
            },
            radius: ['50%', '30%'],
            center: ["50%", "50%"],
            name: '金额',
            type: 'pie',
            data: [
              {
                value: this.formList.hangUpActively.version, name: '100', itemStyle: {
                  normal: {
                    color: '#696969',
                    barBorderRadius: 30,
                    // shadowBlur: 50,
                    shadowColor: 'rgba(21,41,185,.75)'
                  }
                }
              },
              {
                value: this.formList.hangUpActively.total,
                name: this.formList.hangUpActively.version,
                itemStyle: {
                  normal: {
                    color: 'Gainsboro',
                    barBorderRadius: 30,
                    // shadowBlur: 50,
                    shadowColor: 'rgba(21,41,185,.75)'
                  }
                }
              },

            ]
          }]
        });
      },
      drawLine() {
        // 基于准备好的dom，初始化echarts实例
        var date = new Date();
        var year = date.getFullYear();

        let myChart = this.$echarts.init(document.getElementById('main'))
        // 绘制图表
        myChart.setOption({
          title: {
            text: year+'年度',
            left: 'center',//主副标题的水平位置
          },
          legend: {
             left: 'left',
             data: ['逾期金额', '回款金额']
              },
          xAxis: {
            data: ["1月份", "2月份", "3分月 ", "4月份", "5月份", "6月份", "8月份", "9月份", "10月份", "11月份", "12月份"]
          },
          yAxis: {
            type: 'value'
          },
          series: [
            {
              name: '逾期金额',
              type: 'bar',
              color: "#ff8aa6",
              lable:{
                show: true,
                formatter: '{c}  {name|{a}}',
                fontSize: 16,
                rich: {
                  name: {}
                }
              },
              data: [{value: this.amountOfMoney.january_YQJE},
                {value: this.amountOfMoney.february_YQJE},
                {value: this.amountOfMoney.march_YQJE},
                {value: this.amountOfMoney.april_YQJE},
                {value: this.amountOfMoney.may_YQJE},
                {value: this.amountOfMoney.june_YQJE},
                {value: this.amountOfMoney.july_YQJE},
                {value: this.amountOfMoney.august_YQJE},
                {value: this.amountOfMoney.september_YQJE},
                {value: this.amountOfMoney.october_YQJE},
                {value: this.amountOfMoney.november_YQJE},
                {value: this.amountOfMoney.december_YQJE}]
            }, {
              name: '回款金额',
              type: 'bar',
              color: "#7b6bf9",
              data: [{ value: this.amountOfMoney.january_HKJE},
                { value: this.amountOfMoney.february_HKJE},
                { value: this.amountOfMoney.march_HKJE},
                { value: this.amountOfMoney.april_HKJE},
                { value: this.amountOfMoney.may_HKJE},
                { value: this.amountOfMoney.june_HKJE},
                { value: this.amountOfMoney.july_HKJE},
                { value: this.amountOfMoney.august_HKJE},
                { value: this.amountOfMoney.september_HKJE},
                { value: this.amountOfMoney.october_HKJE},
                { value: this.amountOfMoney.november_HKJE},
                { value: this.amountOfMoney.december_HKJE}]
            }
            ]
        });
      }
    },
  };
</script>

<style scoped lang="scss">

.el-date-editor >>> .el-range-separator {
  width: 15%;
}

  .monitor-list {
    background-image: linear-gradient(-225deg, #3ad5d0 0%, #1caed4 100%);
    float: left;
    margin-left: 30px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 366px;
    height: 160px;
  }

  .monitor-list-1 {
    background-image: linear-gradient(to top, #5ea6ee 0%, #5882e3 100%);
    float: left;
    margin-left: 30px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 366px;
    height: 160px;
  }

  .home {
    blockquote {
      padding: 10px 20px;
      margin: 0 0 20px;
      font-size: 17.5px;
      border-left: 5px solid #eee;
    }

    hr {
      margin-top: 20px;
      margin-bottom: 20px;
      border: 0;
      border-top: 1px solid #eee;
    }

    .col-item {
      margin-bottom: 20px;
    }

    ul {
      padding: 0;
      margin: 0;
    }

    font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #676a6c;
    overflow-x: hidden;

    ul {
      list-style-type: none;
    }

    h4 {
      margin-top: 0px;
    }

    h2 {
      margin-top: 10px;
      font-size: 26px;
      font-weight: 100;
    }

    p {
      margin-top: 10px;

      b {
        font-weight: 700;
      }
    }

    .update-log {
      ol {
        display: block;
        list-style-type: decimal;
        margin-block-start: 1em;
        margin-block-end: 1em;
        margin-inline-start: 0;
        margin-inline-end: 0;
        padding-inline-start: 40px;
      }
    }
  }
</style>
